package com.xiaoyu.cloudmusic.service;

import com.xiaoyu.cloudmusic.pojo.ReportDetail;
import com.xiaoyu.cloudmusic.pojo.Song;
import com.xiaoyu.cloudmusic.pojo.StyleParam;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface AdminService {
    public int login(String name,String password);
    public int removeSongs(List<Integer> ids);
    public int shelvesSongs(List<Integer> ids);
    public boolean addSongs(List<Song> songList);
    public boolean addReportInfo(ReportDetail reportDetail);
    public List<Song> paging(Integer pageNo, Integer pageSize);
    public void SaveMusicStyleCount(HashMap<String,Integer> countMap);
    public List<StyleParam> getStyleCounts();
    public void log_login(String uuid,String account,String time,String status);
    public List<ReportDetail> getReportInfo();
    public boolean delReportComment(Integer id,Integer commentid);
    public int revokeReport(Integer id);

}
